<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>订单支付</title>
<meta name="description" content="" /> 
<meta name="keywords" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
</head>
<body>
<style type="text/css">
body{
	background-color: #f3f3f3;
	margin: 0px;
	padding: 0px;
}
header{
	display: flex;
	width: 100%;
	height: 44px;
	text-align: center;
	top: 0px;
	left: 0px;
	position: fixed;
	z-index: 19;
	background: #232323;
}
header h1{
	font-size: 18px;
	height: 44px;
	line-height: 18px;
	overflow: hidden;
	width: 100%;
	padding: 0px 38px 0px 38px;
	text-align: center;
	font-weight: 400;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: #FFF;
}
.top{
	padding: 0px 30px;
	margin-top: 55px;
}
.top div{
	margin-bottom: 5px;
}
.list{
	font-size: 16px;
	margin: 0px;
	background-color: #FFFFFF;
	margin-top: 15px;
	margin-bottom: 20px;
	border-top: #e8e8e8 1px solid;
}
.list div{
	display: flex;
	justify-content:space-between;
	padding: 10px 15px;
	border-bottom: #e8e8e8 1px solid;
}
.list div span{
	
}
.but{
	margin-top: 40px;
	text-align: center;
}
.but button{
	font-size: 18px;
	background: #4ec259 !important;
	color: #FFFFFF !important;
	border: none;
	border-radius: 5px ;
	width: 90%;
	padding: 15px;
}
.price{
	font-size: 18px;
	color: #c90000;
}
</style>
<header>
    <h1>订单支付</h1>
</header>
<div class="top">
	<div><b>付款给商家</b></div>
	<div style="color: #999999;">名称：东莞市海帆纺织有限公司</div>
</div>
<div class="list">
	<div><span>订单编号</span><span>{$T['number']}</span></div>
	<div><span>下单时间</span><span>{$T.create_time|date="Y年m月d日"}</span></div>
	{if $T.customer.company!=""}<div><span>企业名称</span><span>{$T.customer.company}</span></div>{/if}
	<div><span>客户昵称</span><span>{$T.customer.name}</span></div>
	{if $T['coupon']<0}<div><span>已优惠</span><span>￥ {$T['coupon']} 元</span></div>{/if}
	<div><span>实付金额</span><span class="price">￥ {$T['total']} 元</span></div>
</div>
<div class="but"><button onclick="jump()">确定支付</button></div>

</body>
<script>
function jump(){
	location.href = '{$url}';	
}
</script>
</html>